package com.wyh.cloud.service.fallback;

import com.wyh.cloud.service.PaymentService;
import org.springframework.stereotype.Component;

/**
 * @author wyh
 * @version 1.0
 * @date 2021/11/18 9:19
 */
@Component
public class PaymentServiceFallback implements PaymentService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "paymentInfo_OK 出现异常，请勿重试";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "paymentInfo_Timeout 出现异常，请勿重试";
    }
}
